package io.api.modules.project.dao;

import io.admin.common.dao.BaseDao;
import io.api.modules.project.entity.LineEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 项目线路关系表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-12
 */
@Mapper
public interface LineDao extends BaseDao<LineEntity> {

    int countByNameAndProjectId(String name, Long projectId, Long lineId);

    List<LineEntity> getList(Map<String, Object> params);
}